
Packet Tracer PC Command Line 1.0
C:\>ping 200.100.2.3

Pinging 200.100.2.3 with 32 bytes of data:

Request timed out.
Reply from 200.100.2.3: bytes=32 time=1ms TTL=126
Reply from 200.100.2.3: bytes=32 time=1ms TTL=126
Reply from 200.100.2.3: bytes=32 time=1ms TTL=126

Ping statistics for 200.100.2.3:
    Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
    Minimum = 1ms, Maximum = 1ms, Average = 1ms

C:\>
(config)#
R2(config)#
R2(config)#
R2(config)#
R2(config)#
R2(config)#exit
R2#
%SYS-5-CONFIG_I: Configured from console by console

R2#confi
01:08:22: %OSPF-5-ADJCHG: Process 2, Nbr 200.100.13.1 on Serial0/3/0 from LOADING to FULL, Loading 
R2#
01:08:32: %OSPF-5-ADJCHG: Process 2, Nbr 200.100.13.1 on Serial0/3/0 from LOADING to FULL, Loading Done

R2#show run
Building configuration...

Current configuration : 1297 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
service password-encryption
!
hostname R2
!
!
!
enable secret 5 $1$mERr$ILwq/b7kc.7X/ejA4Aosn0
enable password 7 0822404F1A0A
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO2901/K9 sn FTX1524VE14-
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
 --More-- 
01:08:42: %OSPF-5-ADJCHG: Process 2, Nbr 200.100.13.1 on Serial0/3/0 from LOADING to FULL, Loading Done
!
!
!
interface Loopback0
 ip address 2.2.2.2 255.255.255.255
!
interface GigabitEthernet0/0
 ip address 200.100.2.1 255.255.255.0
 duplex auto
 speed auto
!
interface GigabitEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial0/3/0
 ip address 200.100.12.2 255.255.255.252
!
interface Serial0/3/1
 ip address 200.100.23.1 255.255.255.252
 clock rate 128000
!
interface Vlan1
 no ip address
 shutdown
!
router ospf 2
 log-adjacency-changes
 network 200.100.2.0 0.0.0.255 area 0
 network 200.100.12.0 0.0.0.3 area 0
 network 200.100.23.0 0.0.0.3 area 0
!
router ospf 1
 log-adjacency-changes
 network 200.100.2.0 0.0.0.255 area 0
 network 200.100.12.0 0.0.0.3 area 0
 network 200.100.23.0 0.0.0.3 area 0
!
ip classless
!
ip flow-export version 9
!
!
!
banner motd ^CNot allowed for you!!!^C
!
!
!
!
!
line con 0
 password 7 0822455D0A16
 login
!
line aux 0
!
line vty 0 4
 login
!
!
!
end


R2#
01:08:52: %OSPF-5-ADJCHG: Process 2, Nbr 200.100.13.1 on Serial0/3/0 from LOADING to FULL, Loading Done

R2#show ip int brie
01:09:02: %OSPF-5-ADJCHG: Process 2, Nbr 200.100.13.1 on Serial0/3/0 from LOADING to FULL, Loading Done
Interface              IP-Address      OK? Method Status                Protocol 
GigabitEthernet0/0     200.100.2.1     YES manual up                    up 
GigabitEthernet0/1     unassigned      YES unset  administratively down down 
Serial0/3/0            200.100.12.2    YES manual up                    up 
Serial0/3/1            200.100.23.1    YES manual up                    up 
Loopback0              2.2.2.2         YES manual up                    up 
Vlan1                  unassigned      YES unset  administratively down down
R2#
01:09:12: %OSPF-5-ADJCHG: Process 2, Nbr 200.100.13.1 on Serial0/3/0 from LOADING to FULL, Loading Done
show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     2.0.0.0/32 is subnetted, 1 subnets
C       2.2.2.2/32 is directly connected, Loopback0
O    200.100.1.0/24 [110/65] via 200.100.12.1, 00:27:55, Serial0/3/0
     200.100.2.0/24 is variably subnetted, 2 subnets, 2 masks
C       200.100.2.0/24 is directly connected, GigabitEthernet0/0
L       200.100.2.1/32 is directly connected, GigabitEthernet0/0
     200.100.12.0/24 is variably subnetted, 2 subnets, 2 masks
C       200.100.12.0/30 is directly connected, Serial0/3/0
L       200.100.12.2/32 is directly connected, Serial0/3/0
     200.100.13.0/30 is subnetted, 1 subnets
O       200.100.13.0/30 [110/128] via 200.100.12.1, 00:27:55, Serial0/3/0
     200.100.23.0/24 is variably subnetted, 2 subnets, 2 masks
 --More-- 
01:09:22: %OSPF-5-ADJCHG: Process 2, Nbr 200.100.13.1 on Serial0/3/0 from LOADING to FULL, Loading Done
C       200.100.23.0/30 is directly connected, Serial0/3/1
L       200.100.23.1/32 is directly connected, Serial0/3/1

R2#show ip 
01:09:32: %OSPF-5-ADJCHG: Process 2, Nbr 200.100.13.1 on Serial0/3/0 from LOADING to FULL, Loading Done
ospf neighbor


Neighbor ID     Pri   State           Dead Time   Address         Interface
200.100.13.1      0   FULL/  -        00:00:37    200.100.12.1    Serial0/3/0
R2#
01:09:42: %OSPF-5-ADJCHG: Process 2, Nbr 200.100.13.1 on Serial0/3/0 from LOADING to FULL, Loading Done

R2#show ip ospf data
01:09:52: %OSPF-5-ADJCHG: Process 2, Nbr 200.100.13.1 on Serial0/3/0 from LOADING to FULL, Loading Done
base
            OSPF Router with ID (200.100.23.1) (Process ID 2)

                Router Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum Link count
200.100.13.1    200.100.13.1    372         0x80000006 0x00c608 4
200.100.23.1    200.100.23.1    2           0x800000b8 0x00c045 4
            OSPF Router with ID (2.2.2.2) (Process ID 1)

                Router Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum Link count
2.2.2.2         2.2.2.2         900         0x80000001 0x000550 0
R2#
01:10:02: %OSPF-5-ADJCHG: Process 2, Nbr 200.100.13.1 on Serial0/3/0 from LOADING to FULL, Loading Done

01:10:12: %OSPF-5-ADJCHG: Process 2, Nbr 200.100.13.1 on Serial0/3/0 from LOADING to FULL, Loading Done

01:10:22: %OSPF-5-ADJCHG: Process 2, Nbr 200.100.13.1 on Serial0/3/0 from LOADING to FULL, Loading Done
R1#
01:27:48: %OSPF-5-ADJCHG: Process 1, Nbr 200.100.23.1 on Serial0/3/0 from LOADING to FULL, Loading Done

R1#
01:27:58: %OSPF-5-ADJCHG: Process 1, Nbr 200.100.23.1 on Serial0/3/0 from LOADING to FULL, Loading Done

R1#
01:28:08: %OSPF-5-ADJCHG: Process 1, Nbr 200.100.23.1 on Serial0/3/0 from LOADING to FULL, Loading Done

R1#show run
Building configuration...

Current configuration : 1261 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
service password-encryption
!
hostname R1
!
!
!
enable secret 5 $1$mERr$ILwq/b7kc.7X/ejA4Aosn0
enable password 7 0822404F1A0A
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO2901/K9 sn FTX1524OTK3-
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
 --More-- 
01:28:18: %OSPF-5-ADJCHG: Process 1, Nbr 200.100.23.1 on Serial0/3/0 from LOADING to FULL, Loading Done
!
!
!
interface Loopback0
 ip address 1.1.1.1 255.255.255.255
!
interface GigabitEthernet0/0
 ip address 200.100.1.1 255.255.255.0
 duplex auto
 speed auto
!
interface GigabitEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial0/3/0
 ip address 200.100.12.1 255.255.255.252
 clock rate 128000
!
interface Serial0/3/1
 --More-- 
 ip address 200.100.13.1 255.255.255.252
 clock rate 2000000
!
interface Vlan1
 no ip address
 shutdown
!
router ospf 1
 log-adjacency-changes
 passive-interface GigabitEthernet0/0
 network 200.100.1.0 0.0.0.255 area 0
 network 200.100.12.0 0.0.0.3 area 0
 network 200.100.13.0 0.0.0.3 area 0
!
ip classless
!
ip flow-export version 9
!
!
!
banner motd ^CNot allowed!!!!^C
!
 --More-- !
!
!
!
line con 0
 password 7 0822455D0A16
 logging synchronous
 login
!
line aux 0
!
line vty 0
 password 7 0822455D0A16
 login
line vty 1 4
 login
!
!
!
end



R1#how ip int brief
       ^
% Invalid input detected at '^' marker.
	
R1#
01:28:28: %OSPF-5-ADJCHG: Process 1, Nbr 200.100.23.1 on Serial0/3/0 from LOADING to FULL, Loading Done

R1#
01:28:38: %OSPF-5-ADJCHG: Process 1, Nbr 200.100.23.1 on Serial0/3/0 from LOADING to FULL, Loading Done

R1#show ip int brief
Interface              IP-Address      OK? Method Status                Protocol 
GigabitEthernet0/0     200.100.1.1     YES manual up                    up 
GigabitEthernet0/1     unassigned      YES unset  administratively down down 
Serial0/3/0            200.100.12.1    YES manual up                    up 
Serial0/3/1            200.100.13.1    YES manual up                    up 
Loopback0              1.1.1.1         YES manual up                    up 
Vlan1                  unassigned      YES unset  administratively down down
R1#show 
01:28:48: %OSPF-5-ADJCHG: Process 1, Nbr 200.100.23.1 on Serial0/3/0 from LOADING to FULL, Loading Done

R1#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     1.0.0.0/32 is subnetted, 1 subnets
C       1.1.1.1/32 is directly connected, Loopback0
     200.100.1.0/24 is variably subnetted, 2 subnets, 2 masks
C       200.100.1.0/24 is directly connected, GigabitEthernet0/0
L       200.100.1.1/32 is directly connected, GigabitEthernet0/0
O    200.100.2.0/24 [110/65] via 200.100.12.2, 00:30:04, Serial0/3/0
     200.100.12.0/24 is variably subnetted, 2 subnets, 2 masks
C       200.100.12.0/30 is directly connected, Serial0/3/0
L       200.100.12.1/32 is directly connected, Serial0/3/0
     200.100.13.0/24 is variably subnetted, 2 subnets, 2 masks
C       200.100.13.0/30 is directly connected, Serial0/3/1
L       200.100.13.1/32 is directly connected, Serial0/3/1
     200.100.23.0/30 is subnetted, 1 subnets
O       200.100.23.0/30 [110/128] via 200.100.12.2, 00:29:07, Serial0/3/0

R1#  
R1#sho
01:28:58: %OSPF-5-ADJCHG: Process 1, Nbr 200.100.23.1 on Serial0/3/0 from LOADING to FULL, Loading Done

R1#show ip 
01:29:08: %OSPF-5-ADJCHG: Process 1, Nbr 200.100.23.1 on Serial0/3/0 from LOADING to FULL, Loading Done
o
R1#show ip ospf neighbor


Neighbor ID     Pri   State           Dead Time   Address         Interface
2.2.2.2           0   INIT/  -        00:00:35    200.100.12.2    Serial0/3/0
R1#sho
01:29:18: %OSPF-5-ADJCHG: Process 1, Nbr 200.100.23.1 on Serial0/3/0 from LOADING to FULL, Loading Done

R1#show ip ospf database
            OSPF Router with ID (200.100.13.1) (Process ID 1)

                Router Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum Link count
200.100.13.1    200.100.13.1    498         0x80000006 0x00c608 4
200.100.23.1    200.100.23.1    9           0x800000d0 0x00905d 4
R1#
01:29:28: %OSPF-5-ADJCHG: Process 1, Nbr 200.100.23.1 on Serial0/3/0 from LOADING to FULL, Loading Done

R1#
01:29:38: %OSPF-5-ADJCHG: Process 1, Nbr 200.100.23.1 on Serial0/3/0 from LOADING to FULL, Loading Done

R1#

R3(config-router)#exit
R3(config)#exit
R3#
%SYS-5-CONFIG_I: Configured from console by console

R3#show ip interface brief
Interface              IP-Address      OK? Method Status                Protocol 
GigabitEthernet0/0     200.100.3.1     YES manual up                    up 
GigabitEthernet0/1     unassigned      YES unset  administratively down down 
Serial0/3/0            200.100.13.2    YES manual up                    up 
Serial0/3/1            200.100.23.2    YES manual up                    up 
Loopback0              3.3.3.3         YES manual up                    up 
Vlan1                  unassigned      YES unset  administratively down down
R3#








R3 con0 is now available






Press RETURN to get started.













User Access Verification

Password: 
Password: 

R3>en
Password: 
R3#show run
Building configuration...

Current configuration : 1278 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R3
!
!
!
enable secret 5 $1$mERr$9cTjUIEqNGurQiFU.ZeCi1
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO2901/K9 sn FTX1524UVSF-
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface Loopback0
 ip address 3.3.3.3 255.255.255.255
!
interface GigabitEthernet0/0
 ip address 200.100.3.1 255.255.255.0
 duplex auto
 speed auto
!
interface GigabitEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial0/3/0
 ip address 200.100.13.2 255.255.255.252
!
interface Serial0/3/1
 ip address 200.100.23.2 255.255.255.252
!
interface Vlan1
 no ip address
 shutdown
!
router ospf 3
 log-adjacency-changes
 network 200.100.3.0 0.0.0.255 area 0
 network 200.100.13.0 0.0.0.3 area 0
 network 200.100.23.0 0.0.0.3 area 0
!
router ospf 1
 router-id 3.3.3.3
 log-adjacency-changes
 network 200.100.3.0 0.0.0.255 area 0
 network 200.100.13.0 0.0.0.3 area 0
 network 200.100.23.0 0.0.0.3 area 0
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
 password cisco
 login
!
line aux 0
!
line vty 0
 password cisco
 logging synchronous
 login
line vty 1 4
 login
!
!
!
end


R3#show ip int brief
Interface              IP-Address      OK? Method Status                Protocol 
GigabitEthernet0/0     200.100.3.1     YES manual up                    up 
GigabitEthernet0/1     unassigned      YES unset  administratively down down 
Serial0/3/0            200.100.13.2    YES manual up                    up 
Serial0/3/1            200.100.23.2    YES manual up                    up 
Loopback0              3.3.3.3         YES manual up                    up 
Vlan1                  unassigned      YES unset  administratively down down
R3#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     3.0.0.0/32 is subnetted, 1 subnets
C       3.3.3.3/32 is directly connected, Loopback0
     200.100.3.0/24 is variably subnetted, 2 subnets, 2 masks
C       200.100.3.0/24 is directly connected, GigabitEthernet0/0
L       200.100.3.1/32 is directly connected, GigabitEthernet0/0
     200.100.13.0/24 is variably subnetted, 2 subnets, 2 masks
C       200.100.13.0/30 is directly connected, Serial0/3/0
L       200.100.13.2/32 is directly connected, Serial0/3/0
     200.100.23.0/24 is variably subnetted, 2 subnets, 2 masks
C       200.100.23.0/30 is directly connected, Serial0/3/1
L       200.100.23.2/32 is directly connected, Serial0/3/1

R3#show ip ospf neighbor

R3#show ip ospf neighbor

R3#show ip ospf database
            OSPF Router with ID (200.100.23.2) (Process ID 3)

                Router Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum Link count
200.100.23.2    200.100.23.2    1778        0x80000003 0x00d5a6 3
            OSPF Router with ID (200.100.13.2) (Process ID 1)

                Router Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum Link count
200.100.13.2    200.100.13.2    983         0x80000001 0x007973 0
R3#